package eteam.aps.systemservice.model.mapper;

import eteam.aps.systeminterface.model.dto.UserDto;
import eteam.aps.systeminterface.model.entity.UserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IUserMapper {
    IUserMapper INSTANCE = Mappers.getMapper(IUserMapper.class);

    UserEntity toEntity(UserDto param);

    UserDto toDto(UserEntity param);
}
